package cn.walnut.secutiry.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @program: walnut-security
 * @Date: 2018/12/23 17:56
 * @Author: Walnut1992
 * @Description:
 */
@ConfigurationProperties(prefix = "walnut.security.code.image")
public class ImageCodeProperties {

    private int width = 67;
    private int height = 23;
    private int length = 4;
    private int expireIn = 60;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(int expireIn) {
        this.expireIn = expireIn;
    }
}
